package com.invengo.library_orionstar;

public final class ActionEvent {
    public static final String ACTION_HOME = "首页";
    public static final String ACTION_BACK = "回退";
    public static final String ACTION_DOWN = "向下";
    public static final String ACTION_UP = "向上";
    public static final String ACTION_INFO = "详情";
    public static final String ACTION_CHANGE = "换个活动";

    public static final String ACTION_CLICK = "点击";
    public static final String ACTION_SHUTUP = "闭嘴";
    public static final String ACTION_SEARCH = "查询";

    public static final String ACTION_OTHER1 = "其他1";
    public static final String ACTION_OTHER2 = "其他2";
    public static final String ACTION_MOVE_TOP = "移动到顶部";
    public static final String ACTION_MOVE_BUTTOM = "移动到底部";

    private String event;

    public String getEvent() {
        return event;
    }

    private ActionEvent(String event) {
        this.event = event;
    }

    public static ActionEvent opDown() {
        return new ActionEvent(ACTION_DOWN);
    }

    public static ActionEvent opUp() {
        return new ActionEvent(ACTION_UP);
    }

    public static ActionEvent opHome() {
        return new ActionEvent(ACTION_HOME);
    }

    public static ActionEvent opBack() {
        return new ActionEvent(ACTION_BACK);
    }

    public static ActionEvent opInfo() {
        return new ActionEvent(ACTION_INFO);
    }

    public static ActionEvent opSearch() {
        return new ActionEvent(ACTION_SEARCH);
    }

    public static ActionEvent opChange() {
        return new ActionEvent(ACTION_CHANGE);
    }

    public static ActionEvent opMoveTop() {
        return new ActionEvent(ACTION_MOVE_TOP);
    }

    public static ActionEvent opMoveButtom() {
        return new ActionEvent(ACTION_MOVE_BUTTOM);
    }

}
